<?php

Route::group([], function (\Illuminate\Routing\Router $router) {




});

Route::group([
    'middleware' => 'jwt.auth',
], function (\Illuminate\Routing\Router $router) {

    // 管理人员列表
    $router->get('adminList','ActivityController@activityAdmin');

    // 活动分类列表
    $router->get('cateList','ActivityController@cateList');

    //  活动列表
    $router->get('list', 'ActivityController@activityList');

    //  活动详情
    $router->get('detail', 'ActivityController@activityDetail');

    //  活动创建
    $router->post('create', 'ActivityController@createActivity');

    //  活动纪要修改
    $router->post('saveContent', 'ActivityController@saveContent');

    //  申请报名
    $router->get('apply', 'ActivityController@apply');

    //  签到
    $router->get('sign','ActivityController@sign');

    //  活动报名列表
    $router->get('applyList','ActivityController@applyList');

    //  活动签名列表
    $router->get('signList','ActivityController@signList');

});